package com.xwaf.platform.system.api.request.three;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 订单信息
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019年12月30日 上午8:54:45 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
public class AliProductRequest implements Serializable {

	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "商品ID")
	private String productId;//
	@ApiModelProperty(value = "订单名称 ")
	private String subject;//
	@ApiModelProperty(value = "商品描述")
	private String body;//
	@ApiModelProperty(value = "总金额(单位是分)")
	private String totalFee;//
	@ApiModelProperty(value = "订单号(唯一)")
	private String outTradeNo;//
	@ApiModelProperty(value = " 发起人IP地址")
	private String spbillCreateIp;//
	@ApiModelProperty(value = "附件数据主要用于商户携带订单的自定义数据")
	private String attach;//
	@ApiModelProperty(value = "支付类型(1:支付宝 2:微信 3:银联)")
	private Short payType;//
	@ApiModelProperty(value = " 支付方式 (1：PC,平板 2：手机)")
	private Short payWay;//
	@ApiModelProperty(value = " 前台回调地址  非扫码支付使用")
	private String frontUrl;//

	public AliProductRequest() {
		super();
	}

	public AliProductRequest(String productId, String subject, String body, String totalFee, String outTradeNo,
			String spbillCreateIp, String attach, Short payType, Short payWay, String frontUrl) {
		super();
		this.productId = productId;
		this.subject = subject;
		this.body = body;
		this.totalFee = totalFee;
		this.outTradeNo = outTradeNo;
		this.spbillCreateIp = spbillCreateIp;
		this.attach = attach;
		this.payType = payType;
		this.payWay = payWay;
		this.frontUrl = frontUrl;
	}
}
